//package com.hmall.cart.client;
//
//
//import com.hmall.cart.domain.dto.ItemDTO;
//import org.springframework.cloud.openfeign.FeignClient;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RequestParam;
//
//import java.util.Collection;
//import java.util.List;
//
//@FeignClient("item-service")
//public interface ItemClient {
//
//    /**
//     * 根据id集合查询商品详情
//     * Get http://localhost:8801/items?ids=1,2,5
//     * @param ids
//     * @return
//     */
//    @GetMapping("/items")
//    List<ItemDTO> queryItemByIds(@RequestParam("ids") Collection<Long> ids);
//}
